//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.farm.doc.server;

import com.farm.authority.domain.User;
import com.farm.core.auth.domain.LoginUser;
import com.farm.core.sql.query.DataQuery;
import com.farm.core.sql.result.DataResult;
import com.farm.doc.domain.FarmDocgroup;
import com.farm.doc.domain.FarmDocgroupUser;
import com.farm.doc.domain.ex.GroupBrief;
import com.farm.doc.domain.ex.GroupEntire;
import com.farm.doc.exception.NoGroupAuthForLicenceException;
import java.util.List;
import java.util.Map;

public interface FarmDocgroupManagerInter {
    void deleteFarmDocgroupEntity(String var1, LoginUser var2);

    FarmDocgroup getFarmDocgroupEntity(String var1);

    GroupEntire getFarmDocgroup(String var1);

    void deleteFarmDocgroupUserEntity(String var1, LoginUser var2);

    FarmDocgroupUser getFarmDocgroupUserEntity(String var1);

    DataQuery createFarmDocgroupUserSimpleQuery(DataQuery var1);

    FarmDocgroup creatDocGroup(String var1, String var2, String var3, boolean var4, String var5, LoginUser var6) throws NoGroupAuthForLicenceException;

    FarmDocgroup editDocGroup(String var1, String var2, String var3, String var4, boolean var5, String var6, LoginUser var7);

    boolean isJoinCheck(String var1);

    FarmDocgroupUser applyGroup(String var1, String var2, String var3, LoginUser var4);

    void inviteGroup(String var1, String var2, boolean var3, boolean var4, LoginUser var5);

    boolean isJoinGroupByUser(String var1, String var2);

    DataQuery createFarmDocgroupQueryJoinUser(DataQuery var1);

    DataQuery createFarmDocgroupQuery(DataQuery var1);

    DataQuery createFarmDocgroupQueryNuContainUser(DataQuery var1, String var2);

    FarmDocgroupUser getFarmDocgroupUser(String var1, String var2);

    void leaveGroup(String var1, String var2);

    List<User> getAllAdministratorByGroup(String var1);

    List<FarmDocgroupUser> getAllUserByGroup(String var1);

    List<User> getAllUserNoApplyByGroup(String var1);

    void agreeJoinApply(String var1, LoginUser var2);

    void agreeJoinApplyNoPop(String var1, LoginUser var2);

    void refuseJoinApply(String var1, LoginUser var2);

    void wipeAdminFromGroup(String var1, LoginUser var2);

    void wipeAdminFromGroupNoPop(String var1, LoginUser var2);

    void leaveGroup(String var1, LoginUser var2);

    void wipeEditorForGroup(String var1, LoginUser var2);

    void setEditorForGroup(String var1, LoginUser var2);

    void setEditorForGroupNoPop(String var1, LoginUser var2);

    void setAdminForGroup(String var1, LoginUser var2);

    void setAdminForGroupNoPop(String var1, LoginUser var2);

    boolean isAdminForGroup(String var1, String var2);

    void setGroupHomeShow(String var1, String var2);

    void setGroupHomeHide(String var1, String var2);

    void setGroupSortUp(String var1, String var2);

    List<FarmDocgroupUser> getAllGroupUserByUser(String var1);

    List<Map<String, Object>> getEditorGroupByUser(String var1);

    boolean isGroupEditor(String var1, String var2);

    DataQuery getGroupNewDocQuery(DataQuery var1, String var2, LoginUser var3);

    DataQuery getGroupGoodDocQuery(DataQuery var1, String var2, LoginUser var3);

    DataQuery getGroupHotDocQuery(DataQuery var1, String var2, LoginUser var3);

    int getGroupDocNum(String var1);

    FarmDocgroupUser editMinFarmDocgroupUserEntity(FarmDocgroupUser var1, LoginUser var2);

    DataQuery createUserGroupDocQuery(DataQuery var1, String var2);

    FarmDocgroup editDocgroupJoinCheck(boolean var1, String var2, LoginUser var3);

    DataQuery getGroupBadDocQuery(DataQuery var1, String var2, LoginUser var3);

    DataResult getNewGroupDoc(LoginUser var1, String var2, int var3, Integer var4);

    List<GroupBrief> getHotDocGroups(int var1);

    List<GroupBrief> getHotDocGroups(int var1, LoginUser var2);

    DataResult getGroupUser(String var1, FarmDocgroupManagerInter.SearchType var2, FarmDocgroupManagerInter.SearchType var3, FarmDocgroupManagerInter.SearchType var4, int var5, int var6);

    boolean isAuditing(String var1, String var2);

    DataResult getGroupsByUser(String var1, int var2, Integer var3);

    DataResult getGroups(int var1, Integer var2);

    List<FarmDocgroup> getAllGroup();

    List<String> getGroupIdsByUser(String var1);

    public static enum SearchType {
        yes,
        no,
        none;

        private SearchType() {
        }
    }
}
